<?php

class WorkflowTypeNodeAuthsController extends Base {
  use CURD;

  public $tableName = 'workflow_type_node_auths';
  protected $deleted_at = true;
  protected $isTree = false;
  protected $likeField = 'type'; 
  protected $parentKey = 'pid';
  protected $relations = [
    'workflow_type_node_id' => ['table'=>'workflow_type_nodes','as'=>'workflow_type_node','pri'=>'id','cols'=>['id','title'],'where'=>['deleted_at'=>null],'type'=>'one'],
'relation_id' => ['table'=>'admin_users','as'=>'relation','pri'=>'id','cols'=>['id','name'],'where'=>[],'type'=>'one'],
  ];
}
